Different versions of the MC1R gene determine what type of melanin gets made. The most common MC1R version codes for eumelanin (brown hair), but there are specific regions in the DNA sequence that are changed to make pheomelanin (red hair) or a non-functional protein. One of those regions contains this sequence of DNA:
CACAGCCATCCCCCAGCTGGGGCTGGCTGCCAACCAGACA